package com.cong.config;

import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan("com.cong.modules.*.mapper")
public class MybatisPlusConfig {

	@Bean
	public MybatisPlusInterceptor paginationInterceptor() {
		return new MybatisPlusInterceptor();
	}

}
